//
//  SearchDeviceCell.swift
//  TimeBoat
//
//  Created by Jun on 2022/9/5.
//  Copyright © 2022 Time Boat. All rights reserved.
//

import Foundation


class SearchDeviceCell: UITableViewCell {
    @IBOutlet private var mTitle: UILabel!
    @IBOutlet private var mSubTitle: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.backgroundColor = UIColor.white
    }
    
    public func update(title: String?, subTitle: String) {
        self.mTitle.text = title
        self.mSubTitle.text = subTitle
    }
    
    @objc static func cellHeight() -> CGFloat {
        return 80
    }
}
